package com.hamster.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by opabinia on 2017/5/11.
 */
@RestController
@RequestMapping("/")
public class SampleController {
    private static final Logger LOGGER = LoggerFactory.getLogger(SampleController.class);

    @RequestMapping("/")
    public String home() {
        LOGGER.info("test log...");
        return "Hello World";
    }
}
